package com.maserb.monitor.service.JwReport;

import com.maserb.monitor.entity.JwReport.JwReportEntity;
import com.maserb.monitor.repository.JwVisitReport.JwReportRepository;
import com.maserb.monitor.service.base.JpaSpecificationService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.ArrayList;
import java.util.List;


public interface JwReportService extends JpaSpecificationService<JwReportRepository, JwReportRepository, JwReportEntity, String> {
    List<JwReportEntity> findByUuid(String uuid);

    Page<JwReportEntity> findAllByUuid(Pageable pageable, String uuid);

    Page<JwReportEntity> findAll(Pageable pageable, String realName,String sfzh,String phoneNumber,String acceptableStatus);

    void deleteByAcceptanceTime(ArrayList<String> keys);
}